package com.ybc;


import org.example.annotation.MyRpc;
import org.example.annotation.MyRpcClient;

@MyRpcClient( serviceName = "serviceA")
// 定义的远程的接口 方便动态代理   要知道路径、参数和方法名get或post 默认是get   参数直接是入参即可
public interface ServiceA {

    @MyRpc(path = "/hello")
    String hello();

    @MyRpc(path = "/name")
    String  name();

    @MyRpc(path = "/repeat")
    String repeat(String name);


}
